<template>
  <div class="play-video">
    <video :src="videoSrc" controls="controls" width="100%" height="100%" controlsList="nodownload" autoplay />
  </div>
</template>
<script>
export default {
  name: 'playCourse',
  data () {
    return {
      videoSrc: ''
    }
  },
  created () {
    if (this.$route.query.src) {
      this.videoSrc = this.$route.query.src
    }
  }
}
</script>
<style lang="less" scoped>
.play-video {
  width: 100%;
}
</style>
